package com.net.xpay.common.dao.partner;

import com.net.xpay.common.domain.partner.PartnerSettleRecord;
import com.net.xpay.common.model.search.PartnerSettleRecordSearchModel;
import com.net.common.dao.Page;
import com.net.common.dao.PagedMapper;
import com.net.common.annotation.DataCommon;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@DataCommon
@Repository
public interface PartnerSettleRecordMapper extends PagedMapper<Long, PartnerSettleRecord> {
    List<PartnerSettleRecord> search(@Param("searchModel") PartnerSettleRecordSearchModel searchModel, @Param("page") Page page);

    long searchCount(@Param("searchModel") PartnerSettleRecordSearchModel searchModel);

    List<PartnerSettleRecord> listByIds(@Param("ids") List<Long> ids);
}
